package com.heima.feign;

import com.heima.model.wemeda.entity.WmUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("leadnews-wemedia")
public interface WemediaClient {

    @PostMapping("add/user/fengin")
     void save(@RequestBody WmUser wmUser);
}
